﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace SHack.Helper
{
    class ClipboardHelper
    {
        public static void SetText(string text)
        {
            try
            {
                Clipboard.Clear();
                Clipboard.SetText(text);
            }
            catch {
                try
                {
                    Clipboard.Clear();
                    Clipboard.SetText(text);

                }
                catch { }
            }
        }
    }
}
